package com.framework.web.bus.repository;

import com.framework.web.bus.domain.DeliveryArea;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


/**
* @Title: Repository
* @Description: repository
* @author zqtao
* @date 2016-09-29
* @version V1.0
*
*/
public interface DeliveryAreaRepository extends JpaRepository<DeliveryArea, String>,
JpaSpecificationExecutor<DeliveryArea> {

    List<DeliveryArea> findByTypeId(String typeId);

}